package com.ruoyi.finance.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 采购付款申请关联的采购入库单对象 finer_buy_pay_req_ref_cgrk
 *
 * @author lvql
 * @date 2024-11-07
 */
public class BuyPayReqRefCgrk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String payReqCode;

    /** 源编号 */
    @Excel(name = "源编号")
    private String sourceCode;

    /** 申请金额 */
    @Excel(name = "申请金额")
    private BigDecimal requestAmount;

    /** 已付金额 */
    @Excel(name = "已付金额")
    private BigDecimal paidAmount;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setPayReqCode(String payReqCode)
    {
        this.payReqCode = payReqCode;
    }

    public String getPayReqCode()
    {
        return payReqCode;
    }
    public void setSourceCode(String sourceCode)
    {
        this.sourceCode = sourceCode;
    }

    public String getSourceCode()
    {
        return sourceCode;
    }
    public void setRequestAmount(BigDecimal requestAmount)
    {
        this.requestAmount = requestAmount;
    }

    public BigDecimal getRequestAmount()
    {
        return requestAmount;
    }
    public void setPaidAmount(BigDecimal paidAmount)
    {
        this.paidAmount = paidAmount;
    }

    public BigDecimal getPaidAmount()
    {
        return paidAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("payReqCode", getPayReqCode())
                .append("sourceCode", getSourceCode())
                .append("requestAmount", getRequestAmount())
                .append("paidAmount", getPaidAmount())
                .toString();
    }
}
